package com.gengzp.mq.server.model.topic.entity;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName MqTopic
 * @Description 消息主题实体类
 * @Author gengzp
 * @Date 2025/10/22 21:39
 */
public class MqTopic implements Serializable {

    @Serial
    private static final long serialVersionUID = -4251802179853126922L;

    /**
     * 主题名
     */
    private String topic;

    /**
     * 主题描述
     */
    private String description;

    /**
     * 创建时间
     */
    private Date createdTime;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

}
